package itheima.com.zuoye.d05;

public class Coaches extends sportsPersonnel {
    private String EmployeeNumber;

    @Override
    public void eat() {
//        吃饭(吃工作餐)
        System.out.println(getName()+"吃工作餐");
    }
    public Coaches(String name, String sex, int age, String employeeNumber) {
        super(name, sex, age);
        EmployeeNumber = employeeNumber;
    }
    public Coaches() {
    }
    public String getEmployeeNumber() {
        return EmployeeNumber;
    }
    public void setEmployeeNumber(String employeeNumber) {
        EmployeeNumber = employeeNumber;
    }
}
